import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Axios from './axios'
import global from './global'
import ElementUI from 'element-ui';
import './assets/css/index.css'
import 'element-ui/lib/theme-chalk/index.css';
import TopTips from './components/TopTips.vue';
import TopTimer from './components/TopTimer.vue';
import boxConfig from './box_config';
import VueTouchKeyboard from "vue-touch-keyboard";
import "./assets/css/vue-touch-keyboard.css"; // load default style

Vue.use(ElementUI);
Vue.component('top-tips', TopTips);
Vue.component('top-timer', TopTimer);
Vue.use(VueTouchKeyboard);

Vue.prototype.$axios = Axios;
Vue.prototype.$global = global;
Vue.prototype.$boxConfig= boxConfig;

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
